from django.urls import path
from corporateRecruitment import views
from rest_framework.routers import SimpleRouter

router = SimpleRouter()
router.register('recruiters', views.RecruiterViewSet)
router.register('JobRecruiterViewSet', views.JobRecruiterViewSet)
router.register('JobCategoryViewSet', views.JobCategoryViewSet)

urlpatterns = [
    path('CorporationRecruitmentView/', views.CorporationRecruitmentView.as_view()),
    path('changeCorporationRecruitmentView/', views.changeCorporationRecruitmentView.as_view()),
    path('company/', views.CompanyRecruiterListAPIView.as_view()),
    path('jobCategory/', views.jobCategoryListAPIView.as_view()),
]
urlpatterns += router.urls
